// import Vue from 'vue' // cdn引入
import Vuex from 'vuex'

import app from './modules/app'
import user from './modules/user'
import shop from './modules/shop'
import getters from './getters'
// Vue.use(Vuex) // cdn引入

const store = new Vuex.Store({
  modules: {
    app,
    user,
    shop
  },
  getters
})

export default store
